package com.ws.shop.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ws.shop.bean.Page;
import com.ws.shop.dao.ParticipateDao;
import com.ws.shop.service.ParticipateService;

@Service(value="participateService")
public class ParticipateServiceImpl implements ParticipateService{
	
	@Resource(name="participateDao")
	private ParticipateDao participateDao;
	
	public List<Object> getParticipateAuction(Page page, long uid, int limit) {
	    
		return participateDao.getParticipateAuction(page, uid, limit);
	}

	public List<Object> getUserAuction(Page page, long aid, int limit) {
		
		return participateDao.getUserAuction(page, aid, limit);
	}


}
